/**
 * 
 */
package STUDENTS.NGUYENQUOCHUY.BUOI2;

import STUDENTS.NGUYENQUOCHUY.GAME;

/**
 * @author SPI
 *
 */
public class GAME_APPS {
	public static void main(String[] args) {

		GAME Nv1;
		GAME Nv2;
		GAME Nv3;
		GAME Nv4;
		GAME Nv5;

		Nv1 = new GAME();
		Nv2 = new GAME();
		Nv3 = new GAME();
		Nv4 = new GAME(23, "dsjflasd", 4, 35);
		Nv5 = new GAME(35, "Pikachu", 5, 36);

		System.out.println("hiển thị thông tin nhân vật");
		System.out.println("ID:" + Nv1.getID());
		System.out.println("FullName:" + Nv1.getFullName());
		System.out.println("Kill:" + Nv1.getKill());
		System.out.println("Lever:" + Nv1.getLever());

		System.out.println("ID:" + Nv4.getID());
		System.out.println("FullName:" + Nv4.getFullName());
		System.out.println("Kill:" + Nv4.getKill());
		System.out.println("Lever:" + Nv4.getLever());

		System.out.println("ID:" + Nv5.getID());
		System.out.println("FullName:" + Nv5.getFullName());
		System.out.println("Kill:" + Nv5.getKill());
		System.out.println("Lever:" + Nv5.getLever());
		// thiết lập thông tin cho đối tượng
		// có 2 cách:
		// a.thiết lập qua hàm khởi dựng

		Nv1.setID(1);
		Nv1.setFullName("Rồng Trắng Mắt Xanh");
		Nv1.setKill(4);
		Nv1.setLever(45);

		Nv4 = new GAME(23, "dsjflasd", 4, 35);
		Nv5 = new GAME(35, "Pikachu", 5, 36);

	}

}
